/* 手机号规则 */
export function isvalidPhone (phone) {
  const unameTest = /^[1][3,4,5,6,7,8,9][0-9]{9}$/
  return unameTest.test(phone)
}

/* 登录密码规则 */
export function isvalidPassword (password) {
  const unameTest = /(?!^[0-9]+$)(?!^[A-z]+$)(?!^[^A-z0-9]+$)^.{6,16}$/
  return unameTest.test(password)
}